﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.DtoModel.Customer;
using SystemCenterSoa.PoModel.Customer;

namespace SystemCenterSoa.IRepository.CustomerManger
{
    public interface CustomerIRepository
    {
        bool CustomerAdd(CustomerPo info);

        bool FirstPartyAdd(FirstPartyPo info);


        bool SatisfactionSurveyAdd(SatisfactionSurveyPo info);

        //List<StateCityPo> GetStateCity(int id);

        List<FirstPartyPo> GetFirstParty();

        List<SatisfactionSurveyPo> GetSatisfactionSurveyPos();


        FirstPartyPo FanFirst(int id);

        bool DeleFirst(int id);

        bool UpdateFirst(FirstPartyPo info);

        SatisfactionSurveyPo ManCha(int id);

        bool Deleman(int id);

        bool Updateman(SatisfactionSurveyPo info);

        List<China> GetChina(int id);

        PagerResult<CustomerDto> GetAllInfo(SearchModel searchModel);


        CustomerPo FanCustomer(int id);

        List<FirstPartyPo> Fanjia(int id);

        List<SatisfactionSurveyPo> Fanman(int id);


        bool CustomerUpdate(CustomerPo info);


        bool Dele(string ids);

        List<CustomerPo> Tian(int id);

    }
}
